OPC Studio User's Guide and Reference
Refreshing Condition States (OPC UA Alarms & Conditions)
Concepts > OPC Data Client Concepts > OPC Data Client Development Models > Imperative Programming Model > Imperative Programming Model for OPC UA Alarms & Conditions > Subscribing to Information (OPC UA Alarms & Conditions) > Refreshing Condition States (OPC UA Alarms & Conditions)

The UAMonitoredItemArguments class contains a Boolean AutoConditionRefresh property. When set (this is the default), a UA ConditionRefresh will be automatically performed when needed to keep the condition information up-to-date.

The component handles special events reserved for condition refresh automatically, and translates them to event notifications with a special form of event arguments. Event notifications (EasyUAEventNotificationArgs) that related to condition refresh have their Refresh property set to ‘true’. In addition, a start of condition refresh is indicated by a notification with event arguments that have their RefreshInitiated property set to ‘true’. Correspondingly, an end of condition refresh is indicated by a notification with event arguments that have their RefreshComplete property set to ‘true’.

See Also